POST
/
public
/
get-dsa-code-execution-result-batch
curl --request POST \
  --url https://backend.codedamn.com/api/public/get-dsa-code-execution-result-batch \
  --header 'Content-Type: application/json' \
  --header 'FERMION-API-KEY: <api-key>' \
  --data '{
  "data": [
    {
      "data": {
        "taskUniqueIds": [
          "<string>"
        ]
      }
    }
  ]
}'
[
  {
    "output": {
      "status": "ok",
      "data": {
        "tasks": [
          {
            "taskUniqueId": "<string>",
            "sourceCodeAsBase64UrlEncoded": "<string>",
            "language": "C",
            "runConfig": {
              "customMatcherToUseForExpectedOutput": "ExactMatch",
              "expectedOutputAsBase64UrlEncoded": "<string>",
              "stdinStringAsBase64UrlEncoded": "<string>",
              "callbackUrlOnExecutionCompletion": "<string>",
              "shouldEnablePerProcessAndThreadCpuTimeLimit": false,
              "shouldEnablePerProcessAndThreadMemoryLimit": false,
              "shouldAllowInternetAccess": false,
              "compilerFlagString": "",
              "maxFileSizeInKilobytesFilesCreatedOrModified": 1024,
              "stackSizeLimitInKilobytes": 65536,
              "cpuTimeLimitInMilliseconds": 2000,
              "wallTimeLimitInMilliseconds": 5000,
              "memoryLimitInKilobyte": 131072,
              "maxProcessesAndOrThreads": 60
            },
            "codingTaskStatus": "Pending",
            "runResult": {
              "compilerOutputAfterCompilationBase64UrlEncoded": "<string>",
              "finishedAt": "2023-11-07T05:31:56Z",
              "runStatus": "compilation-error",
              "programRunData": {
                "cpuTimeUsedInMilliseconds": 1,
                "wallTimeUsedInMilliseconds": 1,
                "memoryUsedInKilobyte": 1,
                "exitSignal": 123,
                "exitCode": 123,
                "stdoutBase64UrlEncoded": "<string>",
                "stderrBase64UrlEncoded": "<string>"
              }
            }
          }
        ]
      }
    }
  }
]

Authorizations

FERMION-API-KEY
string
header
required

Body

application/json

API Request Body

The body is of type object.

Response

200 - application/json

API Response Body

The response is of type object[].